package com.xyoto.community.entity.main;

import com.xyoto.community.entity.Base;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Author: 廖振辉
 * Date: 2021/11/22
 * Description: 其他话题下的用户热度实体类
 */
@Data
@NoArgsConstructor
@ApiModel("其他话题下的用户热度实体类")
public class OtherTopicUserHot extends Base {

    @ApiModelProperty("用户id")
    private Integer userId;

    @ApiModelProperty("得分类型")
    private Integer type;

    @ApiModelProperty("话题id")
    private Integer topicId;

    @ApiModelProperty("得分数值")
    private Double score;

    public OtherTopicUserHot(Integer userId, Integer type, Integer topicId, Double score) {
        this.userId = userId;
        this.type = type;
        this.topicId = topicId;
        this.score = score;
    }
}
